from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views.ai_assistant import AIAssistantViewSet

# 创建DRF路由器
router = DefaultRouter()

# 注册AI助手视图集
router.register(r'ai-assistant', AIAssistantViewSet, basename='ai-assistant')

app_name = 'health_app'

urlpatterns = [
    # API路由
    path('api/', include(router.urls)),
]